package Test1;

public class Test {
    public static void main(String[] args) {
        NETTeacher netTeacher=new NETTeacher("小王","男",30,8,"合肥");
        netTeacher.teaching();
        netTeacher.introduce();
        JavaTeacher javaTeacher=new JavaTeacher("小李","男",35,10,"南京");
        javaTeacher.teaching();
        javaTeacher.introduce();
    }
}
